| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���g� � �f � d dl mZ d dlmZmZmZ d dlZd dlmZ d dl Z d dl
Z
d dlZd dlZd dl
Zd dlZd dlZd dlZd dlZd dlZd dlZd dlZej* s ej, d� �ej. dk( Zd ZdZdZd ZdZdZd
ZdZ ejB jE ejF ejH dejJ jL � d
ejJ jN � �� Z(ejB jS ejB jE e(d� � sdZ(d� Z*d� Z+ G d� d� Z, G d� de,ejZ � Z. G d� de,ejZ � Z/ G d� dejZ � Z0 G d� de,ejZ � Z1 G d� de,ejZ � Z2e3dk( r ejh � yy)� )�support)�
import_helper� os_helper�
MS_WINDOWSN)�
namedtupleztest module requires subprocess�darwin� � � � l �� �python�.�os.pyc �� � t j j | � } t j j | � d }|j � j dj � � S )Nr �_d)�os�path�basename�splitext�casefold�endswith)�program�names �$C:\Python312\\Lib\test\test_embed.py�debug_buildr . sL � ��g�g���w�'�G�
�7�7���G�$�Q�'�D��=�=�?�#�#�D�M�M�O�4�4� c � � t t j � } t | � D ] }|j d� s�| |= � | S )N�PYTHON)�dictr �environ�list�
startswith)�env�keys r �remove_python_envvarsr% 4 s8 � �
�r�z�z�
�C��C�y���>�>�(�#��C�� � �Jr c �2 � e Zd Zd� Zd� Zdddddd�d�Zd� Zy)�EmbeddingTestsMixinc � � d}t j j t j � }t
r(t
t j � rdnddz }||z
}|}n t j j |d� }t j j ||� x| _ }t j j |� s| j d|z � t j � | _ t j |� y )N�
_testembedr � �.exe�Programsz%r doesn't exist)r r �dirname�sys�
executabler r �join�test_exe�exists�skipTest�getcwd�oldcwd�chdir)�self�exename�builddir�ext�exepath�exes r �setUpzEmbeddingTestsMixin.setUp>